﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using TiposComuns.Objectos;
using Servidor.WebServices;

namespace Servidor.Objectos.RemoteActions
{
    [Serializable]
    [System.Xml.Serialization.XmlInclude(typeof(RemoteAddSearchedAction))]
    [System.Xml.Serialization.XmlInclude(typeof(RemoteRemoveSearchedAction))]
    public abstract class RemoteAction
    {
        private int id;

        public RemoteAction() { }

        public int ID
        {
            get { return id; }
            set { id = value; }
        }

        protected RemoteAction(int id)
        {
            this.id = id;
        }

        public abstract bool Execute();

    }
}
